projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
605c383
)
notebook: don't forget to reset the style after setting show-tabs
author
Cosimo Cecchi
<cosimoc@gnome.org>
Thu, 17 Mar 2011 21:26:15 +0000
(17:26 -0400)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Thu, 17 Mar 2011 21:27:37 +0000
(17:27 -0400)
This fixes a regression after commit
b04f4c536aeab4281a9f0117e67accae19d691b9
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index 94a078c09a10f7b688d19f3f88d8313791111d0f..e4194dfd6a8166357d2de8e6f9dd0adb39e2faa4 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-7149,6
+7149,7
@@
gtk_notebook_set_show_tabs (GtkNotebook *notebook,
gtk_widget_set_child_visible (priv->action_widget[i], show_tabs);
}
+ gtk_widget_reset_style (GTK_WIDGET (notebook));
gtk_widget_queue_resize (GTK_WIDGET (notebook));
g_object_notify (G_OBJECT (notebook), "show-tabs");